<nz-card [nzBordered]="false">
  <div class="clearfix">
    <nz-upload
      nzType="drag"
      [nzMultiple]="true"
      nzAccept=".jpg,.jpeg,.png,.gif"
      nzListType="picture-card"
      [(nzFileList)]="imgList"
      [nzHeaders]="headers"
      [nzLimit]="5-imgList.length"
      [nzSize]="2048"
      [nzPreview]="handlePreview"
      [nzRemove]="handleRemove"
      [nzAction]="uploadDomain"
      [nzShowButton]="imgList.length < 5"
      [nzBeforeUpload]="beforeUpload"
      (nzChange)="handleChange($event)">
      <p class="ant-upload-drag-icon">
        <i class="anticon anticon-inbox"></i>
      </p>
      <p class="ant-upload-text" style="color: orange;">点击或将文件拖拽到此区域以上传文件,为了最佳移动端视觉效果，我们建议您添加大小约750*492的图片</p>
      <p class="ant-upload-hint" style="color: orange;">支持jpg,jpeg,png,gif类型文件，每个文件最大不能超过2Mb,最多可上传5张（不符合条件的文件将自动忽略不上传）</p>
    </nz-upload>
  </div>
  <nz-form-item style="margin-top: 20px;border-top: 1px solid #d0d0d0; padding-top: 12px;">
    <nz-form-control [nzSpan]="19" [nzOffset]="5">
      <!--<button nz-button type="button" (click)="goBack()">返回列表</button>-->
      <button nz-button type="button" (click)="prev()" style="margin-right: 10px;" *ngIf="!entity.id">上一步</button>
      <button nz-button type="button" [nzType]="'primary'" [nzLoading]="isLoading" (click)="_submit()" style="margin-right: 10px;">保存</button>
    </nz-form-control>
  </nz-form-item>
</nz-card>
